<template>
    <el-form ref="form" :model="form" label-width="80px">
        <div class="form-section">
            <el-alert title="品牌信息填写（有几个品牌填写几个品牌）" type="success"></el-alert>
			<el-tabs v-model="activeName" @tab-click="handleClick">
				<el-tab-pane label="品牌1" name="first">
					<div class="form-wrap">
						<el-row :gutter="20">
							<el-col :span="8">
								<el-form-item label="品牌名称">
									<el-input v-model="form.name"></el-input>
								</el-form-item>
							</el-col>
							<el-col :span="8">
								<el-form-item label="该品牌产品包含哪些类" label-width="160px">
									<el-input v-model="form.name"></el-input>
								</el-form-item>
							</el-col>
						</el-row>
					</div>
				</el-tab-pane>
				<el-tab-pane label="品牌2" name="second">
					<div class="form-wrap">
						<el-row :gutter="20">
							<el-col :span="8">
								<el-form-item label="品牌名称">
									<el-input v-model="form.name"></el-input>
								</el-form-item>
							</el-col>
							<el-col :span="8">
								<el-form-item label="该品牌产品包含哪些类" label-width="160px">
									<el-input v-model="form.name"></el-input>
								</el-form-item>
							</el-col>
						</el-row>
					</div>
				</el-tab-pane>
			</el-tabs>

        </div>
    </el-form>
</template>

<script>
export default {
	data(){
		return {
			form:{}
		}
	}
};
</script>

<style lang="scss" scoped>
.form-section {
    .form-wrap {
        margin-top: 20px;
        .form-row-flex {
            display: flex;
            align-items: center;
        }
        .icon {
            margin-left: 10px;
            color: #e6a23c;
        }
    }
}
</style>
